/**
 * Copyright : 中国银联商务有限公司, 2014-2015 
 * Project : UisCommon  
 * vision 1.0
 * Last Changed by Zeroat 2014年5月4日 
 * JDK version used: JDK1.6 
 * Change Log                                  
 * Author      Change Date    Comments         
 *---------------------------------------------
 * Zero        2014年5月4日        Initailized
 */
package com.aididi.utils;

/**
 * BusException 业务层异常
 * 
 * @author Zero
 * @since 1.0
 */
public class BusException extends RuntimeException {

	private static final long serialVersionUID = -2443974166968643689L;

	private String exCode;
	private String exMsg;

	public BusException(String exCode, String exMsg) {
		super();
		this.exCode = exCode;
		this.exMsg = exMsg;
	}

	public BusException(String exCode, String exMsg, Throwable ex) {
		super(ex);
		this.exCode = exCode;
		this.exMsg = exMsg;
	}

	public String getExCode() {
		return exCode;
	}

	public void setExCode(String exCode) {
		this.exCode = exCode;
	}

	public String getExMsg() {
		return exMsg;
	}

	public void setExMsg(String exMsg) {
		this.exMsg = exMsg;
	}

}
